//
//  TextDataTool.h
//  TextDemo
//
//  Created by xuxi on 2024/7/14.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>


NS_ASSUME_NONNULL_BEGIN

@interface TextDataTool : NSObject
//加粗
+(BOOL)isBold;
+ (void)setBold:(BOOL)isBold;
//斜体
+(BOOL)isItalic;
+ (void)setItalic:(BOOL)isItalic;

//字体名称
+(NSString *)fontName;
+(void) setFontName:(NSString *)name;

+ (NSArray *)getTextDataWithStr:(NSString *)text size:(CGSize)size textHeight:(CGFloat )textHeight;
@end

NS_ASSUME_NONNULL_END
